/**
 * @Author: 魏巍 <jswei>
 * @Date:   2018-08-11T11:10:23+08:00
 * @Email:  524314430@qq.com
 * @Filename: tools.js
 * @Last modified by:   jswei
 * @Last modified time: 2018-08-28T04:33:57+08:00
 * @Copyright: free
 */

import store from '../store'

export const remove_axios_interceptors=(axios)=>{

    var myInterceptor = axios.interceptors.request.use(function() {
        store.dispatch('hideLoading')
    });
    axios.interceptors.request.eject(myInterceptor)
}
